package org.common.utils.tuple;

/**
 * 三个Object类型
 * @author zhouzhibing
 * @date 2025/5/19
 */
public class TupleObject3<T1 , T2 , T3> extends TupleObject2<T1, T2> {
    public T3 three;

    TupleObject3(T1 one, T2 two, T3 three) {
        super(one , two);
        this.three = three;
    }

    public static <T1 , T2, T3> TupleObject3<T1 , T2, T3> of(T1 one, T2 two, T3 three) {
        return new TupleObject3<>(one, two, three);
    }

    public T3 getThree() {
        return three;
    }
}
